/*
** synt_xor.c for asm in /home/vanet_c//proj-kw/asm/folder_syntax/synt_
** 
** Made by charles-edouard vanet
** Login   <vanet_c@epitech.net>
** 
** Started on  Thu Dec 13 18:27:13 2012 charles-edouard vanet
** Last update Fri Dec 14 17:44:00 2012 charles-edouard vanet
*/

#include	"../../../includes/asm.h"

int	synt_xor(char **tab, t_list **list, t_my_file **my_file, char **name)
{
  if (tab[1] != NULL && tab[2] != NULL && tab[3] != NULL)
    {
      if (char_cmp(tab[3][0], 'r') == 0)
	return (0);
      else
	{
	  my_free_tab(name);
	  register_msg(list, my_file, tab[3]);
	}
    }
  return (0);
}
